Infixs\CorreiosAutomatico\Services\ShippingService C

Total Complexity 110
Dependencies 15
Dependents 5
Total lines 800
Lines of code 534
Logical lines of code 245
Comment lines 132
Methods 21
Properties 2

Methods 21

Method Rating Maintainability Complexity Lines of code
clone_options()
C
27
26 143
import_shipping_methods_by_plugin_id()
B
37 17 67
createShippingMethod()
A
46 10 38
list_shipping_methods()
A
52 8 24
import_contract_config()
S
52 7 25
fetchViacepAddress()
S
52 6 25
hasCorreiosAutomaticoActiveMethods()
S
57 6 16
fetchAddress()
S
60 6 15
getStateByPostcode()
S
43 4 42
getCeintByPostCode()
S
45 3 39
getAddressByPostcode()
S
61 3 13
get_compatible_methods()
S
55 2 22
createDefaultShippingZone()
S
62 2 12
getCityByPostcode()
S
75 2 4
postcodeMatchRange()
S
70 2 6
getAvailableZoneMethods()
S
60 1 14
getAvailableZoneCorreiosMethods()
S
70 1 6
__construct()
S
77 1 4
hasMethodsToImport()
S
67 1 8
disable_shipping_method()
S
69 1 7
calculateShippingByMethod()
S
75 1 4